package com.nhh.v.mapper;

import com.nhh.v.model.Menus;
import com.nhh.v.model.NhhwakSchedulerLock;
import org.apache.ibatis.annotations.Param;
import tk.mybatis.mapper.common.Mapper;

public interface NhhwakSchedulerLockMapper extends Mapper<Menus> {
  NhhwakSchedulerLock getLockByTaskname(String taskname);

  void updateLockByTaskname(@Param("taskname") String taskname, @Param("status") Integer status);
}